package com.cloud.core.annotation;

import java.lang.annotation.*;

/**
 * 自定义实体类所需要的bean(Excel属性标题、位置等)
 * Copyright: Copyright (C) 2021 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 *
 * @author Rex
 * @since 2021/5/19 9:30
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExcelColumn {
    /**
     * Excel标题
     *
     * @return
     * @author Rex
     */
    String value() default "";

    /**
     * Excel从左往右排列位置
     *
     * @return
     * @author Rex
     */
    int col() default 0;
}
